package com.lxmes.device.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 维保价目对象 fw_maintenance_price
 *
 * @author zhangzhiyu
 * @date 2023-05-11
 */
@ApiModel(value = "FwMaintenancePrice", description = "维保价目对象")
public class FwMaintenancePrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty("序号")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 维保项目类别 */
    @Excel(name = "维保项目类别")
    @ApiModelProperty("维保项目类别")
    private String maintenanceCategory;

    /** 维保项目编号 */
    @Excel(name = "维保项目编号")
    @ApiModelProperty("维保项目编号")
    private String maintenanceNumber;

    /** 维保项目名称 */
    @Excel(name = "维保项目名称")
    @ApiModelProperty("维保项目名称")
    private String maintenanceName;

    /** 维保项目工时 */
    @Excel(name = "维保项目工时")
    @ApiModelProperty("维保项目工时")
    private BigDecimal maintenanceHours;

    /** 维保项目单价 */
    @Excel(name = "维保项目单价")
    @ApiModelProperty("维保项目单价")
    private BigDecimal maintenanceUnitPrice;

    /** 说明 */
    @Excel(name = "说明")
    @ApiModelProperty("说明")
    private String description;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setMaintenanceCategory(String maintenanceCategory)
    {
        this.maintenanceCategory = maintenanceCategory;
    }

    public String getMaintenanceCategory()
    {
        return maintenanceCategory;
    }
    public void setMaintenanceNumber(String maintenanceNumber)
    {
        this.maintenanceNumber = maintenanceNumber;
    }

    public String getMaintenanceNumber()
    {
        return maintenanceNumber;
    }
    public void setMaintenanceName(String maintenanceName)
    {
        this.maintenanceName = maintenanceName;
    }

    public String getMaintenanceName()
    {
        return maintenanceName;
    }
    public void setMaintenanceHours(BigDecimal maintenanceHours)
    {
        this.maintenanceHours = maintenanceHours;
    }

    public BigDecimal getMaintenanceHours()
    {
        return maintenanceHours;
    }
    public void setMaintenanceUnitPrice(BigDecimal maintenanceUnitPrice)
    {
        this.maintenanceUnitPrice = maintenanceUnitPrice;
    }

    public BigDecimal getMaintenanceUnitPrice()
    {
        return maintenanceUnitPrice;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("maintenanceCategory", getMaintenanceCategory())
            .append("maintenanceNumber", getMaintenanceNumber())
            .append("maintenanceName", getMaintenanceName())
            .append("maintenanceHours", getMaintenanceHours())
            .append("maintenanceUnitPrice", getMaintenanceUnitPrice())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
